import Layout from '@/layout'

const student =  {
    path: "/student",
    component: Layout,
    redirect: "/student/list",
    name: 'Student',
    meta: {
      title: '客户管理',
      icon: 'student'
    },
    children: [
      {
        path: 'list',
        component: () => import('@/views/student/list'),
        name: '客户列表',
        meta: { title: '客户列表', icon: 'student' }
      },
      {
        path: 'add',
        component: () => import('@/views/student/add'),
        name: '新增客户',
        meta: { title: '新增客户', icon: 'addStudent' }
      },
      {
        path: 'edit',
        component: () => import('@/views/student/edit'),
        name: '修改客户',
        hidden:true,
        meta: { title: '修改客户', icon: 'student' }
      }
    ]
  }

  export default student
